@layout("/common/_container.html",{plugins:["ztree"],js:["/assets/modular/system/projectwsjd/projectwsjd_tuangou.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">通知管理</span>
</div>
<style>
    .jb{
        text-align: center!important;
        padding: 5px;
        background-color: #fff;
        border-bottom: aliceblue;
        border-color: black;
    }
    /*使列表框与表格单元格重合*/
    td .layui-form-select {
        width: 100px;
        margin-left: -15px;
        margin-right: -15px;
    }
    .layui-table-cell:first-child{
        height: auto;
    }
    .laytable-cell-1-0-8 {
        width: 165px!important;
    }
    .layui-table td, .layui-table th, .layui-table-grid-down, .layui-table-view {
        border-color: #e2e2e2;
    }
</style>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <select name="dm"  id="dm"
                                        lay-search="dm">
                                    <option value="">全部门店名称</option>
                                    <option value="0">半天妖烤鱼（安阳熙城漫购店）</option>
                                    <option value="1">半天妖烤鱼（北京东方新天地店）</option>
                                    <option value="2">半天妖烤鱼（北京王府井百货大楼店)</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select name="startWorkYn" lay-filter="endYn" id="startWorkYn"
                                        lay-search="startWorkYn">
                                    <option value="">审核状态</option>
                                    <option value="Y">待审核</option>
                                    <option value="N">通过</option>
                                    <option value="N">驳回</option>
                                    <option value="N">全部</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn">搜索</button>
                                <button id="btnAdd" class="layui-btn icon-btn">导出</button>
                                <button id="btnAdd1" class="layui-btn icon-btn">发邮件</button>
                            </div>
                        </div>

                    </div>
                        <table class="layui-table" id="noticeTable" lay-filter="noticeTable"></table>

                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    @if(shiro.hasPermission("/notice/update")){
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="delete">通过</a>
    @}
    @if(shiro.hasPermission("/notice/delete")){
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="edit">驳回</a>
    @}
</script>
<script id="statusTpl2" type="text/html">
    {{#  if(d.status == "-1"){ }}
    驳回
    {{#  }else if(d.status == "0"){ }}
    待审核
    {{#  }else if(d.status == "1"){ }}
    通过
    {{#  }else if(d.status == "9"){ }}
    全部
    {{#  } }}
</script>
<script type="text/html" id="WHAttr">
    <select>
        <option value="0">潘忠康</option>
        <option value="1">宋玉明</option>
        <option value="2">苏大强</option>
    </select>
</script>

<!--<script type="text/html" id="statusTpl">-->
<!--    <input type="checkbox" lay-filter="status" value="{{d.userId}}" lay-skin="switch" lay-text="正常|冻结" {{d.status=='ENABLE'?'checked':''}} />-->
<!--</script>-->
@}
